import request from "../../utils/request.js";
//自动配置-添加配置
export const getIntelligentSmartAddApi = (data) => {
  return request({
    method: "post", //请求方式
    url: "/intelligent/smart/add", //请求地址
    data,
  });
};
//自动配置分页查询
export const getIntelligentSmartListApi = (query) => {
  return request({
    method: "get", //请求方式
    url: "/intelligent/smart/list", //请求地址
    params: query,
  });
};
//自动配置修改
export const getIntelligentSmartUpdateApi = (data) => {
  return request({
    method: "put", //请求方式
    url: "/intelligent/smart/update", //请求地址
    data,
  });
};
//自动配置删除
export const getDelIntelligentSmartApi = (id) => {
  return request({
    method: "delete", //请求方式
    url: "/intelligent/smart/" + id, //请求地址
  });
};
